﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/PmUI/PmMaster.Master" AutoEventWireup="true" CodeBehind="LeaveStatus.aspx.cs" Inherits="HRM.UI.PmUI.Profile.ApplicationStatus" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContentBody" runat="server">
    <link href="../../../Styles/LeaveForm/LeaveCss.css" rel="stylesheet" type="text/css" />
    <div class="applyTitle">
        Remaining Leave Status</div>
    <table class="status">
        <tr>
            <td>
                Earn Leave:<asp:Label runat="server" ID="earnLeaveLbl" Width="50px" Font-Bold="True"
                    CssClass="statuss"></asp:Label>
            </td>
            <td>
                Casual Leave:<asp:Label runat="server" ID="casualLeaveLbl" Width="50px" Font-Bold="True"
                    CssClass="statuss"></asp:Label>
            </td>
            <td>
                Sick Leave:<asp:Label runat="server" ID="sickLeaveLbl" Width="50px" Font-Bold="True"
                    CssClass="statuss"></asp:Label>
            </td>
            <td>
                Others :<asp:Label runat="server" ID="otherLbl" Width="50px" Font-Bold="True" CssClass="statuss"></asp:Label>
            </td>
        </tr>
    </table>
<br/>
    <asp:GridView runat="server" ID="applicationStatusGdv" Width="100%" AutoGenerateColumns="False"
         BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px"
        CellPadding="3" OnRowDataBound="applicationStatusGdv_RowDataBound" CssClass="GridviewStyle">
        <Columns>
            <asp:BoundField DataField="ApplyDate" HeaderText="Application Date" />
            <asp:BoundField DataField="LeaveType" HeaderText=" Leave Type" />
            <asp:BoundField DataField="StartDate" HeaderText="Leave Start Date" />
            <asp:BoundField DataField="EndDate" HeaderText="Leave End Date" />
            <asp:BoundField DataField="TotalDays" HeaderText="Total Days" />
            <asp:BoundField DataField="Subject" HeaderText="Subject" />
            <asp:TemplateField HeaderText="Application Status">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("Status") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Flag" HeaderText="Read Status" />
        </Columns>
        <FooterStyle CssClass="GridViewFooterStyle"/>
        <HeaderStyle  Font-Bold="True" CssClass="GridViewHeaderStyle"/>
        <PagerStyle  HorizontalAlign="Center" CssClass="GridViewFooterStyle"/>
        <RowStyle ForeColor="#000066" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#007DBB" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#00547E" />
    </asp:GridView>
</asp:Content>
